package com.briup;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Auther: liao
 * @Date: 2022/9/10-09-10-10:52
 * @Description：com.briup
 */
@Slf4j
@SpringBootApplication
@SpringBootConfiguration
//才会去扫描WebFiler这些个注解
@ServletComponentScan
@EnableTransactionManagement
@EnableCaching //开启Spring Cache缓存功能
public class ReggieApplication {
    public static void main(String[] args) {
        SpringApplication.run(ReggieApplication.class,args);
        log.info("项目启动成功！");
        
    }
}
